You can use a binding and a value converter in a style to change the color (and other aspects of the appearance) of a data element according to the data values—for example, to color bars on a bar chart according to the range band that they fall into.

For an example of how to do this, see Styling Charts.